import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    uni(),
  ],
  transpileDependencies: ['uview-plus'],
  css: {
    preprocessorOptions: {
      scss: {
        api: 'modern-compiler'
      }
    }
  },
  // resolve: {
  //   alias: {
  //     '@': '/src',
  //     '@dcloudio/uni-ui': '@dcloudio/uni-ui'
  //   }
  // }
})
